/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DataLayer.KnowledgeBase;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.security.NoSuchAlgorithmException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.imageio.ImageIO;

/**
 *
 * @author csigabiga
 */
public class TestMain {

    public static void main(String args[]) {
//        java.awt.EventQueue.invokeLater(new Runnable() {
//
//            public void run() {
//                KnowledgeBaseControl kbc = new KnowledgeBaseControl();
//                try {
//                    kbc.kBase.addNewImage(kbc.kBase.loadImage("D:\\a1.png"), 'a');
//                    kbc.kBase.addNewImage(kbc.kBase.loadImage("D:\\a2.png"), 'a');
//                    kbc.kBase.addNewImage(kbc.kBase.loadImage("D:\\b1.png"), 'b');
//                    kbc.kBase.addNewImage(kbc.kBase.loadImage("D:\\AA1.png"), 'A');
//                    kbc.kBase.addNewImage(kbc.kBase.loadImage("D:\\BB1.png"), 'B');
//                    kbc.kBase.addNewImage(kbc.kBase.loadImage("D:\\Untitled.png"), 'F');
//
//                    kbc.exportKnowledgeBase();
//
//                } catch (NoSuchAlgorithmException ex) {
//                    System.out.println(ex);
//                } catch (IOException ex) {
//                    System.out.println(ex);
//                }
//
//                kbc.loadKnowledgeBase("know.kb");
//
//                kbc.transformKnowledgeBase();
//
//            }
//        });
    }
}
